package com.stylefeng.guns.modular.biz.warpper;

import com.stylefeng.guns.common.constant.factory.ConstantFactory;
import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;

import java.util.Map;

public class SmsInfoWarpper extends BaseControllerWarpper {

    public SmsInfoWarpper(Object list) {
        super(list);
    }

    @Override
    public void warpTheMap(Map<String, Object> map) {
        map.put("sendStatusValue", ConstantFactory.me().getSmsInfoSendStatusName((Integer) map.get("sendStatus")));
    }
}
